<!DOCTYPE html>
<html lang="en">
<head>
    <base th:href="@{/}">
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="Servlet?method=addSoldier" method="post">
    <table border="1" align="center">
        <tr>
            <th>姓名:</th>
            <th>
                <input type="text" name="soldierName">
            </th>
        </tr>
        <tr>
            <th>武器</th>
            <th>
                <input type="text" name="soldierWeapon">
            </th>
        </tr>
        <tr>
            <th colspan="2">
                <input type="submit">
            </th>
        </tr>
    </table>
</form>
</body>
</html>